<template>
<van-popup v-model="show" position="bottom" >
  <van-picker show-toolbar @confirm="onConfirm('c')" :columns="['1','2','3']" />
</van-popup>
</template>
<script>
import { Popup,Picker } from 'vant';
export default {
  data(){
    return{
      show:true
    }
  },
  components:{
    "van-popup":Popup,
    "van-picker":Picker
  },
  methods:{
     onConfirm(a,b){
       console.log(a,b);
       
     }
  }
}
</script>

